#include "stdafx.h"


#include "Plugin.h"


Plugin::Plugin(void) : 
	_VersionInfo(nullptr)
{
	_VersionInfo = new MxVersionInfo();
}


Plugin::~Plugin(void)
{
	CleanupOnAppExitOnly();
#ifdef _DEBUG
	::OutputDebugString(L"****************Plugin::~Plugin() ImageCurator all allocated memory now freed ********************\n" );
#endif
}

void Plugin::CleanupOnAppExitOnly()
{
	if (_VersionInfo != nullptr)
		delete _VersionInfo;
	_VersionInfo = nullptr;
}